package com.kotiln.lgc.module_pay

import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.kotiln.lgc.lib_base.base.BaseActivity
import com.kotiln.lgc.lib_base.helper.ARouterHelper
import kotlinx.android.synthetic.main.app_pay_activity.*

/**
 *@fileName AppPayActivity
 *@date2021/4/27  14:46
 *@author AppPayActivity$
 *@describe TODO  支付模块
 *@desc
 */
@Route(path =ARouterHelper.PATH_APP_PAY)
class AppPayActivity : BaseActivity() {

//    @Autowired(name = "data")
//    var data:String =""

    override fun getLayoutId(): Int {
        return R.layout.app_pay_activity;
    }

    override fun getTitleText(): String {
        return getString(R.string.app_name)
    }

    override fun isShowBack(): Boolean {
        return true
    }

    override fun initView() {
    }

    override fun initData() {
        ARouter.getInstance().inject(this)   //注入
//        tv.text=data
    }

    override fun destoryData() {
    }
}